﻿using System;

namespace IMaverick.Physics.Extensions
{
    public static partial class DoubleExtensions
    {
        public static PhysicalValue<Voltage> V(this Double operand)
        {
            return new PhysicalValue<Voltage>(operand, Voltage.Volt);
        }
        public static PhysicalValue<Voltage> kV(this Double operand)
        {
            return new PhysicalValue<Voltage>(operand, Voltage.Kilovolt);
        }
        public static PhysicalValue<Voltage> µV(this Double operand)
        {
            return new PhysicalValue<Voltage>(operand, Voltage.Microvolt);
        }
        public static PhysicalValue<Voltage> mV(this Double operand)
        {
            return new PhysicalValue<Voltage>(operand, Voltage.Millivolt);
        }
    }
}
